<template>
<div class="income-detail">
  <c-header :title="'累计预估收入'"></c-header>
  <div class="income-detail-hd">
    <b>0.00</b>
    <span>累计预估收入</span>
  </div>
  <div class="income-detail-tabs">
    <van-tabs :active="active">
      <van-tab>
        <div slot="title">
          销售佣金
        </div>
        <div class="search">
          <van-search placeholder="请输入商品名称" v-model="key" class="search" />
        </div>
        <div class="charts">
        </div>
      </van-tab>
      <van-tab>
        <div slot="title">
          培训津贴
        </div>
        <div class="search">
          
        </div>
        <div class="charts">

        </div>
      </van-tab>
    </van-tabs>
  </div>
</div>
</template>

<script>
export default {
  data() {
    return {
      active: 0,
      key: ''
    }
  },
  methods: {
    onSearch() {}
  }
}
</script>

<style lang="scss">
@import '../../assets/styles/common.scss';
.income-detail {
    &-hd {
        height: px2rem(200px);
        width: 100%;
        background-color: #fff;
        background-image: url("/static/images/vip/bg-2.png");
        background-repeat: no-repeat;
        background-size: cover;
        display: flex;
        flex-direction: column;
        -webkit-align-items: center;
        align-items: center;
        -webkit-justify-content: center;
        justify-content: center;
        align-content: center;
        b {
            @include font-dpr(26px);
            color: #dd3631;
            display: block;
        }
        span {
            margin-top: px2rem(10px);
            display: block;
        }

    }
    &-tabs {
        height: px2rem(140px);
        width: 100%;
        background-color: #fff;
        .search {
            background-color: #fff !important;
        }
    }
}
</style>
